Autogenerated HTML docs for v2.15.0-317-g14c63
diff --git a/githooks.html b/githooks.html index a488a69..58df1a1 100644 --- a/githooks.html +++ b/githooks.html
@@ -1141,6 +1141,29 @@ non-zero status causes <em>git send-email</em> to abort before sending any e-mails.</p></div> </div> +<div class="sect2"> +<h3 id="_fsmonitor_watchman">fsmonitor-watchman</h3> +<div class="paragraph"><p>This hook is invoked when the configuration option core.fsmonitor is +set to .git/hooks/fsmonitor-watchman. It takes two arguments, a version +(currently 1) and the time in elapsed nanoseconds since midnight, +January 1, 1970.</p></div> +<div class="paragraph"><p>The hook should output to stdout the list of all files in the working +directory that may have changed since the requested time. The logic +should be inclusive so that it does not miss any potential changes. +The paths should be relative to the root of the working directory +and be separated by a single NUL.</p></div> +<div class="paragraph"><p>It is OK to include files which have not actually changed. All changes +including newly-created and deleted files should be included. When +files are renamed, both the old and the new name should be included.</p></div> +<div class="paragraph"><p>Git will limit what files it checks for changes as well as which +directories are checked for untracked files based on the path names +given.</p></div> +<div class="paragraph"><p>An optimized way to tell git "all files have changed" is to return +the filename <em>/</em>.</p></div> +<div class="paragraph"><p>The exit status determines whether git will use the data from the +hook to limit its search. On error, it will fall back to verifying +all files and folders.</p></div> +</div> </div> </div> <div class="sect1"> @@ -1153,7 +1176,7 @@ <div id="footnotes"><hr /></div> <div id="footer"> <div id="footer-text"> -Last updated 2017-09-29 13:22:11 JST +Last updated 2017-11-21 14:32:26 JST </div> </div> </body>